package com.young.monitor.model;

/**
 * 查询时间维度
 * Created by Administrator on 2019/8/3.
 */
public enum TimeDimension {
    MINUTES(1, "分钟")
    , HOUR(2, "小时")
    , DAY(3, "天")
    , MONTH(4, "月")
    , YEAR(5, "年")
    ;

    public Integer code;
    public String text;

    TimeDimension(Integer code, String text) {
        this.code = code;
        this.text = text;
    }
}
